package jgl.vajra.kingkong.part.home.model;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.HomeVehicleTypeBean;
import jgl.vajra.kingkong.part.home.contract.HomeVehicleTypeContract;
import jgl.vajra.kingkong.widget.manager.RxJavaHttpManager;
import jgl.vajra.kingkong.widget.manager.retrofit.RetrofitJsonManager;

public class HomeVehicleTypeModel extends HomeVehicleTypeContract.Model{
    @Override
    public Observable<HomeVehicleTypeBean> getCarInfoData(Map<String, Object> map) {
        return RetrofitJsonManager.getInstance().getApiService().getCarInfoData(map)
                .compose(RxJavaHttpManager.applyTransformer());
    }
}
